﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="1.1.8763.0"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>fdcef06f-4f8f-4a90-b5f3-4302e01ec390</id>
      <revision>27</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>0</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="39" bottom="39" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="1.1.8763.0" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.8763.0" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.8763.0" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.8763.0" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Statistical Tools" version="1.0.6824.32561" guid="76f6e9f5-ac86-4ffb-9e4d-284c8daecaf9" />
      <assembly name="PlotRegion" version="1.11.8763.0" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="18" top="18" width="290" height="71" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">Γ</e>
          <e type="operand">2</e>
          <e type="operand">π</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">sqrt</e>
          <e type="operand">1</e>
          <e type="operand">e</e>
          <e type="operator" args="2">/</e>
          <e type="operand">x</e>
          <e type="operand">1</e>
          <e type="operand">12</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">10</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="bracket">(</e>
          <e type="operand">x</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="513" top="27" width="236" height="71" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">2</e>
          <e type="operand">π</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">sqrt</e>
          <e type="operand">1</e>
          <e type="operand">e</e>
          <e type="operator" args="2">/</e>
          <e type="operand">x</e>
          <e type="operand">1</e>
          <e type="operand">12</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">10</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="bracket">(</e>
          <e type="operand">x</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </input>
      </math>
    </region>
    <region left="297" top="36" width="71" height="26" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">g</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="99" width="240" height="158" color="#000000" fontSize="10">
      <plot type="2d" render="lines" scale_x="1" scale_y="1" scale_z="1" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="0" transpose_y="0" transpose_z="0">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">Γ</e>
          <e type="operand">x</e>
          <e type="function" args="1">g</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </plot>
    </region>
    <region left="261" top="99" width="494" height="80" color="#000000" bgColor="#e1ffff" fontSize="12" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="font-family: Courier New; font-size: 12px;">COMMENTS:<br />1. Plot first the system to enable the bracketing.<br />2. Sometimes, "solve" is hard to refine ....<br />=&gt;  get higher accuracy from "RootDichotomy"</p>
        </content>
      </text>
    </region>
    <region left="18" top="324" width="319" height="271" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
      <math decimalPlaces="6">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>"RootDichotomy"  is a robust companion.</p>
          </content>
        </description>
        <input>
          <e type="operand">#</e>
          <e type="function" args="1">Φ</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">ε</e>
          <e type="function" args="4">D</e>
          <e type="operand" style="string">RootDichotomy</e>
          <e type="operand">xn</e>
          <e type="operand">b</e>
          <e type="operand">a</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
          <e type="operand">n</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">xn</e>
          <e type="function" args="1">Φ</e>
          <e type="function" args="1">abs</e>
          <e type="operand">ε</e>
          <e type="operator" args="2">≥</e>
          <e type="operand">xn</e>
          <e type="function" args="1">Φ</e>
          <e type="operand">a</e>
          <e type="function" args="1">Φ</e>
          <e type="operator" args="2">*</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≤</e>
          <e type="operand">b</e>
          <e type="operand">xn</e>
          <e type="operator" args="2">:</e>
          <e type="operand">a</e>
          <e type="operand">xn</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">if</e>
          <e type="operand">xn</e>
          <e type="operand">b</e>
          <e type="operand">a</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
          <e type="operand">n</e>
          <e type="operand">n</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">line</e>
          <e type="function" args="2">while</e>
          <e type="operand">xn</e>
          <e type="operand">n</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="351" top="360" width="196" height="28" color="#000000" bgColor="#ebebeb" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">Φ</e>
          <e type="operand">x</e>
          <e type="function" args="1">Γ</e>
          <e type="operand">x</e>
          <e type="function" args="1">g</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="1">eval</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="351" top="396" width="84" height="33" color="#000000" bgColor="#e1ffff" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">ε</e>
          <e type="operand">10</e>
          <e type="operand">15</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="351" top="432" width="256" height="45" color="#000000" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">R</e>
          <e type="operand">x</e>
          <e type="function" args="1">Φ</e>
          <e type="operand">2</e>
          <e type="operand">4</e>
          <e type="operand">ε</e>
          <e type="function" args="4">D</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">3.000003</e>
          <e type="operand">48</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
        </result>
      </math>
    </region>
    <region left="351" top="486" width="164" height="43" border="true" color="#000000" bgColor="#e1ff80" fontSize="10">
      <math decimalPlaces="1">
        <description active="true" position="Right" lang="eng">
          <content>
            <p>Sanity check</p>
          </content>
        </description>
        <input>
          <e type="operand">R</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">Φ</e>
        </input>
        <result action="numeric">
          <e type="operand">2.2</e>
          <e type="operand">10</e>
          <e type="operand">16</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region left="18" top="612" width="407" height="302" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
      <math decimalPlaces="6">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>"RootSecant" is viable  =&gt; refine from "sanity check"</p>
          </content>
        </description>
        <input>
          <e type="operand">Φ</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">ε</e>
          <e type="function" args="4">X</e>
          <e type="operand" style="string">Root Secant</e>
          <e type="operand">u</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">10</e>
          <e type="operand">15</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">:</e>
          <e type="operand">u</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operand">b</e>
          <e type="operand">b</e>
          <e type="function" args="1">Φ</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">a</e>
          <e type="function" args="1">Φ</e>
          <e type="operand">b</e>
          <e type="function" args="1">Φ</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">Φ</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">Φ</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">Φ</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="1">abs</e>
          <e type="operand">ε</e>
          <e type="operator" args="2">≥</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">Φ</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">Φ</e>
          <e type="operand">u</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">Φ</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">i</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="function" args="2">while</e>
          <e type="operand">u</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="468" top="612" width="196" height="28" color="#000000" bgColor="#ffff80" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">Φ</e>
          <e type="operand">x</e>
          <e type="function" args="1">Γ</e>
          <e type="operand">x</e>
          <e type="function" args="1">g</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="1">eval</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="468" top="639" width="224" height="36" color="#000000" bgColor="#ffff80" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">a</e>
          <e type="operand">0.44</e>
          <e type="operator" args="2">:</e>
          <e type="operand">b</e>
          <e type="operand">0.46</e>
          <e type="operator" args="2">:</e>
          <e type="operand">ε</e>
          <e type="operand">10</e>
          <e type="operand">9</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">:</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
        </input>
      </math>
    </region>
    <region left="468" top="675" width="163" height="26" color="#000000" bgColor="#ffff80" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">solΓ</e>
          <e type="operand">Φ</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">ε</e>
          <e type="function" args="4">X</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="468" top="720" width="290" height="82" color="#000000" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">solΓ</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
          <e type="operand">10</e>
          <e type="operand">15</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">0.439286</e>
          <e type="operand">0.439286</e>
          <e type="operand">2.507237</e>
          <e type="operand">10</e>
          <e type="operand">27</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">i</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="441" top="810" width="104" height="35" border="true" color="#000000" bgColor="#e1ff80" fontSize="10">
      <math decimalPlaces="3">
        <description active="true" position="Right" lang="eng">
          <content>
            <p>sanity check</p>
          </content>
        </description>
        <input>
          <e type="operand">solΓ</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">Φ</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region left="468" top="855" width="208" height="36" color="#000000" bgColor="#ffff80" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">a</e>
          <e type="operand">2.99</e>
          <e type="operator" args="2">:</e>
          <e type="operand">b</e>
          <e type="operand">3</e>
          <e type="operator" args="2">:</e>
          <e type="operand">ε</e>
          <e type="operand">10</e>
          <e type="operand">12</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">:</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
        </input>
      </math>
    </region>
    <region left="468" top="900" width="163" height="26" color="#000000" bgColor="#ffff80" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">solΓ</e>
          <e type="operand">Φ</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">ε</e>
          <e type="function" args="4">X</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="468" top="927" width="290" height="82" color="#000000" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">solΓ</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
          <e type="operand">10</e>
          <e type="operand">15</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">3.000003</e>
          <e type="operand">3.000003</e>
          <e type="operand">5.523334</e>
          <e type="operand">10</e>
          <e type="operand">30</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">i</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="441" top="1026" width="184" height="43" border="true" color="#000000" bgColor="#e1ff80" fontSize="10">
      <math decimalPlaces="3">
        <description active="true" position="Right" lang="eng">
          <content>
            <p>sanity check</p>
          </content>
        </description>
        <input>
          <e type="operand">solΓ</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">Φ</e>
        </input>
        <result action="numeric">
          <e type="operand">3.321</e>
          <e type="operand">10</e>
          <e type="operand">8</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region left="324" top="1089" width="129" height="26" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">π</e>
          <e type="function" args="1">Gamma</e>
        </input>
        <result action="numeric">
          <e type="operand">2.288</e>
        </result>
      </math>
    </region>
    <region left="18" top="1116" width="453" height="28" color="#000000" fontSize="10">
      <math decimalPlaces="15" trailingZeros="true">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">Γ</e>
          <e type="operand">x</e>
          <e type="function" args="1">g</e>
          <e type="operator" args="2">-</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">x</e>
          <e type="operand">2.875</e>
          <e type="operand">3.125</e>
          <e type="function" args="4">solve</e>
        </input>
        <result action="numeric">
          <e type="operand">3.000002655640000</e>
        </result>
      </math>
    </region>
    <region left="27" top="1179" width="337" height="73" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">Γ</e>
          <e type="operand">2</e>
          <e type="operand">π</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">sqrt</e>
          <e type="operand">1</e>
          <e type="operand">e</e>
          <e type="operator" args="2">/</e>
          <e type="operand">x</e>
          <e type="operand">1</e>
          <e type="operand">12</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">10</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="bracket">(</e>
          <e type="operand">x</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">eval</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="27" top="1251" width="154" height="26" color="#000000" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">q</e>
          <e type="operand">0.25</e>
          <e type="operand">0.5</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="27" top="1278" width="99" height="26" color="#000000" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="1">Γ</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="1323" width="419" height="270" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
      <math decimalPlaces="6">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>Newton-Raphson looks like a curiosity<br />rather disastrous in this example.</p>
          </content>
        </description>
        <input>
          <e type="operand">f</e>
          <e type="operand">q</e>
          <e type="operand">init</e>
          <e type="operand">ε</e>
          <e type="function" args="4">Zero</e>
          <e type="operand" style="string">Newton-Raphson</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">init</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operand">x</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">x</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">q</e>
          <e type="operand">10</e>
          <e type="operand">12</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">x</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="1">abs</e>
          <e type="operand">ε</e>
          <e type="operator" args="2">&gt;</e>
          <e type="operand">i</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">x</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">x</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">q</e>
          <e type="operand">10</e>
          <e type="operand">12</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="function" args="2">while</e>
          <e type="operand">x</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="441" top="1368" width="94" height="24" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">init</e>
          <e type="operand">2.78</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="441" top="1395" width="240" height="35" color="#000000" fontSize="10">
      <math optimize="2" decimalPlaces="6">
        <input>
          <e type="operand">zero</e>
          <e type="operand">f</e>
          <e type="operand">q</e>
          <e type="operand">init</e>
          <e type="operand">10</e>
          <e type="operand">9</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="function" args="4">Zero</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="441" top="1476" width="223" height="118" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">zero</e>
        </input>
        <result action="numeric">
          <e type="operand">2.78</e>
          <e type="operand">1.775</e>
          <e type="operand">0.962</e>
          <e type="operand">0.439</e>
          <e type="operator" args="1">-</e>
          <e type="operand">229.777</e>
          <e type="operator" args="1">-</e>
          <e type="operand">44.656</e>
          <e type="operand">i</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operand">229.777</e>
          <e type="operator" args="1">-</e>
          <e type="operand">44.656</e>
          <e type="operand">i</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">mat</e>
        </result>
      </math>
    </region>
    <region left="18" top="1638" width="383" height="53" color="#000000" fontSize="10">
      <math decimalPlaces="3">
        <input>
          <e type="operand">sol</e>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="1">q</e>
          <e type="operator" args="2">-</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">x</e>
          <e type="operand">1</e>
          <e type="operand">1.6</e>
          <e type="function" args="4">solve</e>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="1">q</e>
          <e type="operator" args="2">-</e>
          <e type="operand">0</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">x</e>
          <e type="operand">2.5</e>
          <e type="operand">3</e>
          <e type="function" args="4">solve</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1.296</e>
          <e type="operand">2.77</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
        </result>
      </math>
    </region>
    <region left="18" top="1710" width="339" height="158" border="true" color="#000000" bgColor="#80ffff" fontSize="10">
      <plot type="2d" render="lines" scale_x="1.771561" scale_y="1.771561" scale_z="1.771561" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="2" transpose_y="-1" transpose_z="0">
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="1">q</e>
          <e type="operand">sol</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">sol</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">f</e>
          <e type="operand" style="string">+</e>
          <e type="operand">20</e>
          <e type="operand" style="string">black</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operand">sol</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operand">sol</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">f</e>
          <e type="operand" style="string">+</e>
          <e type="operand">20</e>
          <e type="operand" style="string">black</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">sys</e>
        </input>
      </plot>
    </region>
    <region left="387" top="1764" width="251" height="63" border="true" color="#000000" bgColor="#e1ff80" fontSize="10">
      <math decimalPlaces="1">
        <description active="true" position="Right" lang="eng">
          <content>
            <p>Sanity check</p>
          </content>
        </description>
        <input>
          <e type="operand">sol</e>
          <e type="function" args="1">f</e>
          <e type="operand">sol</e>
          <e type="function" args="1">q</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="1">vectorize</e>
        </input>
        <result action="numeric">
          <e type="operand">8.8</e>
          <e type="operand">10</e>
          <e type="operand">10</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">9.9</e>
          <e type="operand">10</e>
          <e type="operand">12</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
        </result>
      </math>
    </region>
    <region left="18" top="2061" width="307" height="26" color="#000000" bgColor="#fafafa" fontSize="10">
      <math>
        <input>
          <e type="operand">u</e>
          <e type="operand">2</e>
          <e type="operand">v</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">1</e>
          <e type="operator" args="2">≤</e>
          <e type="bracket">(</e>
          <e type="operand">5</e>
          <e type="operand">u</e>
          <e type="operator" args="2">*</e>
          <e type="operand">2</e>
          <e type="operand">v</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operand">5</e>
          <e type="operator" args="2">≥</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">u</e>
          <e type="operand">2</e>
          <e type="operand">v</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operand">9</e>
          <e type="operator" args="2">≤</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
        </input>
      </math>
    </region>
    <region left="18" top="2097" width="70" height="24" color="#000000" bgColor="#ffe1e1" fontSize="10">
      <math fractionType="fraction" decimalPlaces="6">
        <description active="true" position="Right" lang="eng">
          <content>
            <p>'N' random in critical region</p>
          </content>
        </description>
        <input>
          <e type="operand">N</e>
          <e type="operand">1000</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="324" top="2097" width="101" height="26" color="#000000" bgColor="#ffe1e1" fontSize="10">
      <math>
        <input>
          <e type="operand">t0</e>
          <e type="operand">1</e>
          <e type="function" args="1">time</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="441" top="2097" width="337" height="172" border="true" color="#000000" bgColor="#e1ff80" fontSize="10">
      <math optimize="0" fractionType="fraction" decimalPlaces="6">
        <input>
          <e type="operand">data</e>
          <e type="operand">spec</e>
          <e type="function" args="2">pts</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">data</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">p</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">c</e>
          <e type="function" args="3">spec</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">for</e>
          <e type="operand">v</e>
          <e type="operand">p</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand" style="string">Unest 'p' </e>
          <e type="operand">j</e>
          <e type="operand">2</e>
          <e type="operand">p</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">v</e>
          <e type="operand">v</e>
          <e type="operand">p</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="function" args="2">stack</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">for</e>
          <e type="operand">data</e>
          <e type="operand">v</e>
          <e type="function" args="2">augment</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="2133" width="196" height="91" border="true" color="#000000" bgColor="#fafafa" fontSize="10">
      <math>
        <description active="true" position="Right" lang="eng">
          <content>
            <p>size/define critical region.<br />Plot first before filling</p>
          </content>
        </description>
        <input>
          <e type="operand">xmin</e>
          <e type="operand">1</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">xmax</e>
          <e type="operand">5</e>
          <e type="operator" args="2">:</e>
          <e type="operand">ymin</e>
          <e type="operand">5</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">ymax</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="operand">space_x</e>
          <e type="operand">xmax</e>
          <e type="operand">xmin</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">:</e>
          <e type="operand">space_y</e>
          <e type="operand">ymax</e>
          <e type="operand">ymin</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </math>
    </region>
    <region left="18" top="2232" width="406" height="26" color="#000000" bgColor="#fafafa" fontSize="10">
      <math optimize="2" fractionType="fraction" decimalPlaces="6">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>A function that tests an arbitrary point <br />for its membership in the critical region.</p>
          </content>
        </description>
        <input>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="2">Test</e>
          <e type="operand">x</e>
          <e type="operand">2</e>
          <e type="operand">y</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">1</e>
          <e type="operator" args="2">≤</e>
          <e type="bracket">(</e>
          <e type="operand">5</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operand">2</e>
          <e type="operand">y</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operand">5</e>
          <e type="operator" args="2">≥</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</e>
          <e type="operand">2</e>
          <e type="operand">y</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operand">9</e>
          <e type="operator" args="2">≤</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="441" top="2268" width="307" height="31" color="#000000" bgColor="#e1ffff" fontSize="12">
      <math>
        <input>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">c</e>
          <e type="function" args="3">spec</e>
          <e type="operand" style="string">.</e>
          <e type="operand">6</e>
          <e type="operand" style="string">#808080</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="2313" width="329" height="240" border="true" color="#000000" bgColor="#fafafa" fontSize="10">
      <math optimize="2" fractionType="fraction" decimalPlaces="6">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>A routine that finds an array of N random <br />pairs in the critical region.</p>
          </content>
        </description>
        <input>
          <e type="operand">Pts</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">N</e>
          <e type="function" args="2">range</e>
          <e type="operand">x</e>
          <e type="operand">1</e>
          <e type="function" args="1">Random</e>
          <e type="operand">space_x</e>
          <e type="operator" args="2">*</e>
          <e type="operand">xmin</e>
          <e type="operator" args="2">+</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">y</e>
          <e type="operand">1</e>
          <e type="function" args="1">Random</e>
          <e type="operand">space_y</e>
          <e type="operator" args="2">*</e>
          <e type="operand">ymin</e>
          <e type="operator" args="2">+</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="2">Test</e>
          <e type="operator" args="2">-</e>
          <e type="operand">x</e>
          <e type="operand">1</e>
          <e type="function" args="1">Random</e>
          <e type="operand">space_x</e>
          <e type="operator" args="2">*</e>
          <e type="operand">xmin</e>
          <e type="operator" args="2">+</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">y</e>
          <e type="operand">1</e>
          <e type="function" args="1">Random</e>
          <e type="operand">space_y</e>
          <e type="operator" args="2">*</e>
          <e type="operand">ymin</e>
          <e type="operator" args="2">+</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="function" args="2">while</e>
          <e type="operand">P</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="function" args="3">el</e>
          <e type="operand">x</e>
          <e type="operator" args="2">:</e>
          <e type="operand">P</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="operand">y</e>
          <e type="operator" args="2">:</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">line</e>
          <e type="function" args="3">for</e>
          <e type="operand">P</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="351" top="2313" width="252" height="52" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
      <math>
        <input>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">c</e>
          <e type="function" args="3">spec</e>
          <e type="operand" style="string">.</e>
          <e type="operand">6</e>
          <e type="operand" style="string">lime</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operator" args="2">:</e>
          <e type="operand">fill</e>
          <e type="operand">Pts</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">c</e>
          <e type="function" args="3">spec</e>
          <e type="function" args="2">pts</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
        </input>
      </math>
    </region>
    <region left="351" top="2367" width="320" height="192" color="#000000" fontSize="10">
      <plot type="2d" render="lines" scale_x="1.61051" scale_y="1.61051" scale_z="1.61051" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="1" transpose_y="0" transpose_z="0">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>Filling the critial domain + CenterGravity</p>
          </content>
        </description>
        <input>
          <e type="operand">1</e>
          <e type="operand">x</e>
          <e type="operator" args="2">-</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="1">-</e>
          <e type="operand">9</e>
          <e type="operand">x</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="1">-</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">sys</e>
          <e type="operand">fill</e>
          <e type="operand">1.6667</e>
          <e type="operand">2.333</e>
          <e type="operator" args="1">-</e>
          <e type="operand" style="string">.</e>
          <e type="operand">15</e>
          <e type="operand" style="string">black</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">sys</e>
        </input>
      </plot>
    </region>
    <region left="171" top="2610" width="176" height="29" color="#000000" bgColor="#ff00ff" fontSize="12">
      <math decimalPlaces="1">
        <input>
          <e type="operand">1</e>
          <e type="function" args="1">time</e>
          <e type="operand">t0</e>
          <e type="operator" args="2">-</e>
        </input>
        <result action="numeric">
          <e type="operand">4.5</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>